<% int validaSession = 1; %>
<%@ include file="Connections/session.jsp" %>

<%
//--- variables de session
//String sesLogin = (String)session.getAttribute("login");
String sesAdmonF = (String)session.getAttribute("CIMACONCILREPORTESFACTURA1");
String sesLecturaF = (String)session.getAttribute("CIMACONCILREPORTESFACTURA2");
String sesAdmonU = (String)session.getAttribute("CIMACONCILREPORTESUNIDADES1");
String sesLecturaU = (String)session.getAttribute("CIMACONCILREPORTESUNIDADES2");

//out.print(sesLogin);
/*
if (sesLogin == null) {
	out.print("<script>");
	out.print("window.parent.parent.location = 'login.jsp'");
	out.print("</script>");
}*/
//-------------

%>
<html>
<head>
<title>CIMA v2 - Conciliacion TFM</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="miestilo.css" type="text/css">
<script language="javascript" src="jsV21/util.js"></script>
</head>

<body bgcolor="#FFFFFF" text="#000000" background="images/fondo.jpg" leftmargin="0" topmargin="0">
<center>
<br><br>
<table width="280" border="0" cellspacing="0" cellpadding="0">
  <tr>
      <td width="280" height="20" align="center" class="menus"><% if(sesLecturaF!=null && sesLecturaF.equals("2")) { %><a href="concilTFM_repFact.jsp" target="_self">Reporte de Facturas</a><% } %></td>
  </tr>
  <tr>
      <td align="center" height="20" class="menus"><% if(sesLecturaU!=null && sesLecturaU.equals("2")) { %><a href="concilTFM_repCarros.jsp?status=No Conciliado" target="_self">Reporte de Unidades</a><% } %></td>
  </tr>
  <tr>
      <td align="center" height="20" class="menus"><% if(sesLecturaU!=null && sesLecturaU.equals("2")) { %><a href="javascript:completePopUp( 'costosFletes_reporte.jsp', 'ReporteUniRecpNoConcil', 'NO' );">Unidades Recepcionadas No Conciliadas</a><% } %> </td>
  </tr>
</table>
<%
//----------------
if ((sesLecturaF==null || !sesLecturaF.equals("2")) && (sesLecturaU==null || !sesLecturaU.equals("2"))) {
%>
<br><br><br>
  <table width="400" cellpadding="0" cellspacing="0" border="0">
    <tr>
      <td align="center">No tiene Acceso a &eacute;sta p&aacute;gina.<br>Consulte 
        a su Administrador.</td>
  </tr>
</table>
<%
 }
//-------------
%>

</center>
</body>
<HEAD>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</HEAD>
</html>
